//
//  PKReadCollectionViewCell.m
//  PianKe
//
//  Created by ybq on 15/12/28.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import "PKReadCollectionViewCell.h"

@implementation PKReadCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        _mainImageView = [[UIImageView alloc] initWithFrame:self.contentView.frame];
        [self.contentView addSubview:_mainImageView];
        
        _nameLabel = [[UILabel alloc] init];
        _nameLabel.textColor = [UIColor whiteColor];
        _nameLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:_nameLabel];
        
        _ennameLabel = [[UILabel alloc] init];
        _ennameLabel.textColor = [UIColor whiteColor];
        _ennameLabel.font = [UIFont systemFontOfSize:9];
        [self.contentView addSubview:_ennameLabel];
    }
    return self;
}


@end
